<?php
namespace Common\Model;

class ProvinceModel extends CommonModel{
    
	public function getProvinceName($id){
		return $this->where("id='$id'")->getField('name');
	}

	public function getProvinces(){
		return $this->select();
	}
}